package com.hdl.design.pattern.templeate;

/**
 * 类名 ConcreteClass
 * 描述 具体类，继承父类模板，实现抽象方法
 *
 * @author hedonglin
 * @version 1.0
 * @date 2019/10/4 15:42
 */
public class ConcreteClass extends AbstractClass {

    @Override
    public void primitiveOperation1() {
        System.out.println("子类ConcreteClass的primitiveOperation1方法被执行");
    }

    @Override
    public void primitiveOperation2() {
        System.out.println("子类ConcreteClass的primitiveOperation2方法被执行");
    }
}
